#ifndef __CMD_MYSQL_H__
#define __CMD_MYSQL_H__
#include "func.h"
#include"dirStack.h"
typedef struct mysql_info_s
{
    char sql_commd[2046];   //传入的语句
    char sql_result[1024];  //传出的语句  buf
}mysql_info_t;

//读表
int read_mysql(mysql_info_t *mysql_info,MYSQL *connect);
//压zs
/* int init_Usertask(dirStack_t *taskStack,char*UserName,MYSQL *connect); */ 
int cd_mysql(char*UserName,dirStack_t *taskStack,char*args,MYSQL *connect,char*buf);
//pwd
int pwd_mysql(dirStack_t *taskStack,char*UserName,MYSQL *connect,char*buf);
//ls
int ls_mysql(dirStack_t *taskStack,MYSQL *connect,char*buf);
#endif
